package com.white.algebra.domain;

import java.util.Date;

public class Discuss {
    private String id;
    private String author;
    private UserInfo authorInfo;
    private String discussionId;
    private String discussId;
    private Discuss replyDiscuss;
    private String text;
    private int thumbsUp;
    private Date time;

    public Discuss() {
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getDiscussionId() {
        return discussionId;
    }

    public void setDiscussionId(String discussionId) {
        this.discussionId = discussionId;
    }

    public String getDiscussId() {
        return discussId;
    }

    public void setDiscussId(String discussId) {
        this.discussId = discussId;
    }

    public Discuss getReplyDiscuss() {
        return replyDiscuss;
    }

    public void setReplyDiscuss(Discuss replyDiscuss) {
        this.replyDiscuss = replyDiscuss;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public int getThumbsUp() {
        return thumbsUp;
    }

    public void setThumbsUp(int thumbsUp) {
        this.thumbsUp = thumbsUp;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public UserInfo getAuthorInfo() {
        return authorInfo;
    }

    public void setAuthorInfo(UserInfo authorInfo) {
        this.authorInfo = authorInfo;
    }

    @Override
    public String toString() {
        return "Discuss{" +
                "id='" + id + '\'' +
                ", author='" + author + '\'' +
                ", authorInfo=" + authorInfo +
                ", discussionId='" + discussionId + '\'' +
                ", discussId='" + discussId + '\'' +
                ", replyDiscuss=" + replyDiscuss +
                ", text='" + text + '\'' +
                ", thumbsUp=" + thumbsUp +
                ", time=" + time +
                '}';
    }
}
